<?php

function link_to($url) {
    return siteRoot . '/' . $url;
}

function translate($string) {
    return $string;
}

function sendEmail($from, $to, $subject, $message, $additionalHeaders = '') {
    $headers = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    $headers .= 'From: ' . $from . "\r\n";
    if ($additionalHeaders)
        $headers .= $additionalHeaders;
    return mail($to, $subject, $message, $headers);
}

?>
